package org.jeecg.modules.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 问题管理
 *
 * @TableName dban_question
 */
@Table(name = "dban_question")
@Data
public class DbanQuestion implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 问题
     */
    private String question;

    /**
     * 答案
     */
    private String answer;

    /**
     * 用户Id
     */
    @Column(name = "user_id")
    private String userId;

    /**
     * 用户名字
     */
    @Column(name = "user_name")
    private String userName;

    /**
     *
     */
    @Column(name = "create_time")
    private Date createTime;

    private static final long serialVersionUID = 1L;
}